package com.ourteam.workspace.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-11-30 18:42:24 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseProjectWorkspaceRelateDAO
    extends IDataAccessInterface<ProjectWorkspaceRelate, ProjectWorkspaceRelateDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "PROJECT_WORKSPACE_RELATE";

  /** Mapped Field ID */
  static final String Id = "PROJECT_WORKSPACE_RELATE.ID";

  /** Mapped Field PROJECT_ID */
  static final String ProjectId = "PROJECT_WORKSPACE_RELATE.PROJECT_ID";

  /** Mapped Field WORKSPACE_ID */
  static final String WorkspaceId = "PROJECT_WORKSPACE_RELATE.WORKSPACE_ID";

  public static interface DataProperty {

    /** Attribute id */
    static final String Id = "id";

    /** Attribute projectId */
    static final String ProjectId = "projectId";

    /** Attribute workspaceId */
    static final String WorkspaceId = "workspaceId";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  ProjectWorkspaceRelate findById(final long id) throws Exception;
}
